package exercises.Charpter9;

abstract class Base{
	void print(){}
	public Base() {
		print();
	}
}

class Extend extends Base{
	private int i = 10;
	void print(){
		System.out.println(i);//基类构造函数构造的时候调用了实现，但是i当时还未初始化
	}
}

public class Three {
	@SuppressWarnings("unused")
	public static void main(String[] args){
		Extend test = new Extend();
	}
}
